PXC Documentation

PXC Home

Flood Fill

1.18.0

Filled connected pixel given position and color.

Node Data

Display name

Flood Fill

Internal name

Node_Flood_Fill

Inheritances

Node_Processor
Node_Flood_Fill

Inputs

Surfaces

surface

Surface In

surface

Mask

slider

Mix

Fill

vec2

Position

color

Color

slider

Threshold

enum

Blend

Algorithm

enum

Algorithm

bool

Diagonal

int

Iteration

Gradient

bool

Fill Gradient

gradient

Gradient

Outputs

surface

Surface Out

Attributes

Color Depth

Flood fill node fill a region with the same color with a new color. That region is based on a single points. If you want to map all regions with new colors, you can use Region Fill node.



Properties


Position


Position of a pixel in the region to fill.


Threshold


Threshold of the color difference to ber consider the same region.


Colors


Color to fill to.


Diagonal


Whether to fill diagonal pixel.


Blend


Blending mode between the original and the filled color.



Related Links